//
//  main.m
//  Demo0010
//
//  Created by zTercel on 13-1-3.
//  Copyright (c) 2013年 zTercel. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Shape.h"

int main(int argc, const char * argv[])
{

    @autoreleasepool {
        id rectangle = [[Rectangle alloc] init];
        id triangle  = [[Triangle alloc] init];
        
        [rectangle paint];
        [rectangle erase];
        [triangle set_fillColor: 0xFFEEFFEE];
        [triangle set_sideColor: 0xEEFFEEFF];
        [triangle paint];
        [triangle erase];
      
        [triangle set_fillColor: 100];
    }
    return 0;
}

